public class test{
    public static void main(String[] args) {
//        Computer computer = new Computer();
//        computer.puton();
//        computer.useDevice(new Mouse());
//        System.out.println("------------------------");
//        computer.useDevice(new KeyBoard());
//        computer.putoff();
        Classstudent c = new Classstudent("张三", 18);
        Classstudent c1 = new Classstudent("李四", 20);
        System.out.println(c1.compareTo(c));
    }
}
